class Clock:
    def __init__(self, start_hour=0, start_minute=0):
        self.hour = start_hour
        self.start_hour = start_hour
        self.minute = start_minute
        self.start_minute = start_minute
    
    def add(self, hour=0, minute=0):
        self.minute += minute
        
        extra_hours = int(self.minute // 60)
        self.minute %= 60
        
        self.hour += hour
        self.hour += extra_hours
        
        self.hour %= 24
    
    def get(self):
        return (self.hour, self.minute)
    
    def reset(self):
        self.hour = self.start_hour
        self.minute = self.start_minute
    
    def __str__(self):
        return "%02i:%02i" % (self.hour, self.minute)